<?php

/**
 * AreasModel 模型
 * Class AreasModel
 */
class AreasModel extends BaseModel
{

    public $tableName = "areas";
    public $errMsg = '';

    static private $_singleton;

    public function __construct()
    {
        parent::__construct($this->tableName);
    }

    static public function getSingleton()
    {
        if (!self::$_singleton) {
            self::$_singleton = new static();
        }

        return self::$_singleton;
    }
}